package com.own.business.wechat.base.constant;

import com.own.business.wechat.base.em.WechatCodeEnum;

import java.util.HashMap;
import java.util.Map;

/**
 * ConstantWechat
 *
 * @author chenxueli
 * @date 2023-06-30 10:23:39
 */
public final class ConstantWechat {

    public static final Map<String, WechatCodeEnum> CODE_MAP;

    static {
        CODE_MAP = new HashMap<>(512);
        for (var em : WechatCodeEnum.values()) {
            CODE_MAP.put(em.code(), em);
        }

    }

}
